<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;
use \Illuminate\Database\Eloquent\Relations\BelongsTo;

class UserRefund extends BaseModel
{
    public $table = 'user_refund';

    public $guarded = [];

    public $casts = [
        'created_at' => 'date:Y-m-d H:i:s'
    ];

    public function order()
    {
        return $this->belongsTo(Order::class,'id','order_id');
    }
}
